module main

import vweb
import app {
    App
    State
}

const(
    port = 8080
)

fn main() {
    println("Starting vweb application")
    mut app := App{
        state: .starting
    }
    app.handle_static('public/', true)
    vweb.run(&app, port)
}